package be.sc.classicnetwork.service;

import java.util.Collection;

import be.sc.classicnetwork.model.code.Code;

/**
 * CodeService.
 */
public interface CodeService {

    /**
     * findAll.
     */
    Collection<? extends Code> findAll(Class<? extends Code> codeClass);

    /**
     * findById.
     */
    Code findById(Class<? extends Code> codeClass, int id);

    /**
     * findByIdIn.
     */
    Collection<? extends Code> findByIdIn(Class<? extends Code> codeClass, String... ids);

}
